package com.example.demo.jol;

import org.openjdk.jol.info.ClassLayout;

public class Test {


    // 32 , 32, 48

    public static void main(String[] args) {
        System.out.println(ClassLayout.parseInstance(new A()).toPrintable());
        System.out.println("---------------------------------");
        System.out.println(ClassLayout.parseInstance(new C()).toPrintable());
        System.out.println("---------------------------------");
        System.out.println(ClassLayout.parseInstance(new D()).toPrintable());
    }
}
